package com.rgs.pay.wechat;

import io.swagger.annotations.ApiModelProperty;

/**
 * @author Ren Gaoshuai
 * @ClassName WeChatXcxRequestDTO
 * @date 2022-08-17 20:49
 * 微信小程序支付下单请求
 * 微信小程序下单接口参考(https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=9_1)
 **/
public class WeChatXcxRequestDTO {
    @ApiModelProperty(value = "商户id",example = "b320801e-32be-4032-8167-2a7f4775c5ea",required = true)
    private String organizeId;
    @ApiModelProperty(value = "商品描述",example ="这里是商品描述",required = true)
    private String body;
    @ApiModelProperty(value = "商户订单号",example ="1",required = true)
    private String outTradeNo;
    @ApiModelProperty(value = "货币类型", example = "CNY",required = true)
    private String feeType;
    @ApiModelProperty(value = "总金额(分)",example = "1",required = true)
    private Integer totalFee;
    @ApiModelProperty(value = "终端IP(必须传正确的用户端IP,支持ipv4)",example = "127.0.0.1",required = true)
    private String spbillCreateIp;
    @ApiModelProperty(value = "交易类型固定值", example = "MWEB",required = true)
    private String tradeType;
    @ApiModelProperty(value = "微信返回的code值，根据此值获取openid",example = "xxx",required = true)
    private String code;
    @ApiModelProperty(value = "账户id",example ="0000000977",required = true)
    private String accountId;
}
